package com.rpframework.core.json;

/**
 * 没有数据异常
 * 
 * @author 刘兴
 */
public class EmptyException extends JsonException {

	/**
	 * UID
	 */
	private static final long serialVersionUID = 1L;

	public EmptyException() {
		super();
		setJsonResp(new JsonResp().empty());
	}

	public EmptyException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		setJsonResp(new JsonResp().empty(message));
	}

	public EmptyException(String message, Throwable cause) {
		super(message, cause);
		setJsonResp(new JsonResp().empty(message));
	}

	public EmptyException(String message) {
		super(message);
		setJsonResp(new JsonResp().empty(message));
	}

	public EmptyException(Throwable cause) {
		super(cause);
	}
}
